package com.zhan.drugStore.bean.form.message;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class MessageForm implements Serializable {

    @ApiModelProperty(value = "消息")
    @NotBlank
    private String content;

    @ApiModelProperty(value = "姓名")
    @NotBlank
    private String username;

    @ApiModelProperty(value = "hole id")
    @NotNull
    private Long holeId;

}
